package com.hashbee.bbs.domain;

import java.util.Date;

public class PostLike {
    private String postId;
    private String userId;
    private Integer isLike;
    private Date createTime;
    private Date lastUpdateTime;

    public PostLike() {
        this.postId = "";
        this.userId = "";
        this.isLike = 0;
        this.createTime = new Date();
        this.lastUpdateTime = new Date();
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getIsLike() {
        return isLike;
    }

    public void setIsLike(Integer isLike) {
        this.isLike = isLike;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
